package com.study.cloud.feign;

import com.study.cloud.pojo.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "service-payment")
public interface PaymentService {
    @GetMapping("/payment/get/{id}")
    CommonResult queryById(@PathVariable("id") Long id);
}
